package com.kt.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @author DengXin
 * @date 2022/10/5 10:31
 */
public interface LoadBalancer {
    /**
     * 获取可用服务列表
     *
     * @param serviceInstances
     * @return
     */
    ServiceInstance instances(List<ServiceInstance> serviceInstances);
}
